Receiving IR Codes

 

The Ocelot has the capability to also receive and decode IR codes.  If it matches an IR code, it notifies the HouseBot Ocelot plugin and indicates the IR code that was received.  The Plugin then notifies any HouseBot Devices that subscribe to the ôIR Response Receivedö notification list.  One such device is the ôIR Receiverö Device.  When an IR Code is received, this Device will set its ôIR Code Number Receivedö Property to the numeric value of the IR Code that was received. 

 

The following steps can be used to receive IR codes in HouseBot.

  1. Select ôFile / New / Deviceàö from the main menu.
  2. Select the ôHardware Deviceö radio button.
  3. Select ôIR Receiverö from the ôType of Deviceö list.
  4. Select the Ocelot Interface.
  5. Provide a unique and descriptive name for the Device.
  6. Press OK
  7. Enable the Device

With this configuration, the IR Receiver Property will change when a new code is received so you should visually monitor the Property Value History page for changes.

 

To act on the code reception, you will need to create a Task (or multiple Tasks) that will have a condition to check for a particular IR Code.  You can find the IR Code number in the Remote Control Library.  Each Remote Control in the Library, contains the IR codes learned by the Ocelot.  Clicking on a particular code in the Tree View, will display its properties and its numeric code value.

 

Note: